<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
	<div id="site-nav" class="w-full">
		<div class="shoptop w clearfix">
			<c:if test="${not empty user}">
				<div class="login_info">hi, ${user.uName} ,欢迎您访问！</div>
				<a href="<%=path%>/rest/user/logout">退出</a>
			</c:if>
			<c:if test="${empty user}">
				<div class="login_info">
					<div class="login_info">
						hi, 游客 <a href="<%=path%>/rest/user/loginJsp">请登录</a> 
						<a href="<%=path%>/rest/user/registerJsp">免费注册</a>
						<a href="<%=path%>/rest/admin/adminloginJsp">管理员登录</a>
					</div>
				</div>
			</c:if>
			<ul class="quick-menu">
				<li class="item">
					<div class="menu mytb">
					<c:if test="${not empty user}">
					    <a class="menu-hd" href="<%=path%>/rest/user/myInfo">用户中心<b></b></a>
					<div class="menu-bd">
							<div class="menu-bd-panel">
								<div>
									<p>
										<a href="<%=path%>/rest/orderform/myOrder">我的订单</a>
									</p>
									<p>
										<a href="<%=path%>/rest/user/myInfo">我的信息</a>
									</p>
									<p>
										<a href="<%=path%>/rest/cart/myCart">我的购物车</a>
									</p>
								</div>
							</div>
						</div>
					</c:if>
					<c:if test="${empty user}">
					    <a class="menu-hd" href="<%=path%>/rest/user/loginJsp">用户中心<b></b></a>
					    <div class="menu-bd">
							<div class="menu-bd-panel">
								<div>
									<p>
										<a href="../login.jsp">我的订单</a>
									</p>
									<p>
										<a href="../login.jsp">我的信息</a>
									</p>
									<p>
										<a href="../login.jsp">我的购物车</a>
									</p>
								</div>
							</div>
						</div>
					</c:if>
					</div>
				</li>
				<li class="service"><a
					href="#">帮助中心</a></li>
				<li class="service"><a href="#">手机客户端</a></li>
				<li class="item" style="background: none">
					<div class="menu favorite">
						<a class="menu-hd" href="#">收藏夹<b></b></a>
						<div class="menu-bd">
							<div class="menu-bd-panel">
								<div>
									<p>
										<a href="#">收藏的宝贝</a>
									</p>
									<p>
										<a href="#">收藏的商家</a>
									</p>
								</div>
							</div>
						</div>
					</div>
				</li>
			</ul>
		</div>
	</div>